#### [SENSe<Chn>:]FUNCtion...

This subsystem selects the sweep type and the measurement parameter.

Command tree: [SENSe<Chn>:]FUNCtion

[:ON]

##### [SENSe<Chn>:]FUNCtion[:ON] '<string>'

Defines the sweep type and the measurement parameter in a single string.

Note: To select a measurement parameter without changing the sweep type, use CALCulate<Ch>:PARameter:MEASure
. Use the other commands in the CALCulate<Ch>:PARameter... subsystem to create or delete traces and select measurement parameters.

<Chn> | Channel number used to identify the active trace. If [SENSe<Chn>:]FUNCtion[:ON] is not used as a query, the number must be 1.
'<string>' | Single string parameter defining the sweep type and the parameter to be measured: <string> = "<sweep_type>:<parameter>".
Range [def. unit] | See list of strings below [–].
*RST value | "XFR:S21" '
SCPI, Command Types | Confirmed, command or query
Example: | CALC4:PAR:SDEF "Ch4Tr1", "S11" Create channel 4 and a trace named Ch4Tr1 to measure the input reflection coefficient S11. The trace automatically becomes the active trace. SENS4:FUNC? Check (query) the sweep type and measurement parameter of the active trace. The result is 'XFR:POW:S11'.

The following keywords define the sweep type (see SCPI command reference: presentation layer):

XFRequency | Frequency sweep (Lin. Frequency/Log. Frequency/Segmented Frequency)
XPOWer | Power sweep
XTIMe | Time sweep
XCW? | CW Mode sweep (output variable for query only)

The following keywords define the measurement parameter (see SCPI command reference: function name):

POWer:S<Ptout><Ptin> | S-parameter with output and input port number of the DUT, e.g. S11, S21.
POWer:RATio A<Ptout> | B<Ptin>, A<Ptout> | B<Ptin> Output: A<Ptout>/B<Ptin> | Ratio, e.g. B2, A1 for b2/a1 drive Port 1
POWer:A<Ptout> | Wave quantity with stimulus port number of the analyzer, e.g. A1.
POWer:B<Pt in> | Wave quantity with receive port number of the analyzer, e.g. B2.
POWer:Z<Pt out><Pt in> | Matched-circuit impedance (converted Z-parameter) with output and input port number of the DUT, e.g. Z11, Z21.
POWer:Y<Pt out><Pt in> | Matched-circuit admittance (converted Y-parameter) with output and input port number of the DUT, e.g. Y11, Y21.
POWer:KFACtor POWer:MUFactor<1|2> | Stability factor K Stability factors m1 or m2
PAE<Ptout><Ptin> | Power Added Efficiency (PAE) with output and input port number of the DUT, e.g. PAE21 (output variable for query only)
VOLTage[:DC] DCIN1 | DCIN2 Output: DC 1 V, DC 10 V | DC Input 1 (DC 1 V) or DC Input 2 (DC 10 V)

Note: The mnemonics POWer: and VOLTage: are not used in output strings.